package cn.eeepay.framework.service;

import cn.eeepay.framework.db.pagination.Page;
import cn.eeepay.framework.model.AccountAddrOrder;
import cn.eeepay.framework.model.AccountAddress;
import cn.eeepay.framework.model.JumpRouteQuotaLog;

import java.util.List;
import java.util.Map;

public interface AccountAddressService {

    public int insert(AccountAddress accountAddress);

    public int insertExport(List<AccountAddress> accountAddressList);

    public int update(AccountAddress accountAddress);

    public List<AccountAddress> select(Page<AccountAddress> page);

    public AccountAddress findAccountAddressByAddress(String address);

    void updateJoinGroupPollingStatus(Integer id, Integer status);

    public void updateOpenStatus(Integer id, Integer status);

    Map<String, Object> addressMonitor(String address, String dateStart, String dateEnd, Page<AccountAddrOrder> page);

    Map<String, Object> addressMonitorExport(String address, String dateStart, String dateEnd, Page<AccountAddrOrder> page);

    Map<String, Object> accountAddressMonitor(String address, String dateStart, String dateEnd, Page<AccountAddrOrder> page);

    Map<String, Object> accountAddressMonitorExport(String address, String dateStart, String dateEnd, Page<AccountAddrOrder> page);

    List<AccountAddrOrder> addressMonitorDetail(String address, String date);

    List<AccountAddrOrder> accountAddressMonitorDetail(String address, String date);

    void addrOrderMoveAccountAddressLog(String yesterDay);

    AccountAddress findById(Integer accountAddressId);

    List<AccountAddress> findAccountAddressByDateAndAccountAddressAndType(String dateStart,String dateEnd, String accountAddress, Integer type, Page<AccountAddress> page);

}
